﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="UserAccount.aspx.cs" Inherits="Design.WebForm8" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style22
        {
            width: 100%;
        }
        .style23
        {
            width: 164px;
        }
        .style24
        {
            width: 207px;
        }
        .style31
        {
            width: 26px;
        }
        .style32
        {
            width: 905px;
        }
        .style33
        {
            width: 99px;
        }
        .style34
        {
            width: 120px;
            text-align: left;
        }
        .style35
        {
            width: 164px;
            height: 24px;
        }
        .style36
        {
            width: 120px;
            text-align: right;
            height: 24px;
        }
        .style37
        {
            width: 99px;
            height: 24px;
        }
        .style38
        {
            height: 24px;
        }
        .style39
        {
            width: 120px;
            text-align: right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table class="style32">
        <tr>
            <td colspan="4">
                <asp:Label ID="Label9" runat="server" Font-Size="X-Large" ForeColor="#FF6600" 
                    Text="Your Account!"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style39">
                &nbsp;</td>
            <td class="style33">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                <asp:Label ID="Label7" runat="server" Text="Username :"></asp:Label>
            </td>
            <td class="style39">
                &nbsp;</td>
            <td class="style33">
                &nbsp;<asp:TextBox ID="txtusername" runat="server" ReadOnly="True" 
                    Width="124px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                <br />
                <asp:Label ID="Label8" runat="server" Text="Current Password :"></asp:Label>
                <br />
                <br />
                <asp:Label ID="Label11" runat="server" Text="New Password :"></asp:Label>
                <br />
                <br />
                <asp:Label ID="Label12" runat="server" Text="Confirm New Password :"></asp:Label>
                <br />
                <br />
                <br />
                <br />
            </td>
            <td class="style39">
                &nbsp;</td>
            <td class="style33">
                <asp:ChangePassword ID="ChangePassword1" runat="server" 
                    style="text-align: left">
                    <ChangePasswordTemplate>
                        <table cellpadding="1" cellspacing="0" style="border-collapse:collapse;">
                            <tr>
                                <td>
                                    <table cellpadding="0">
                                        <tr>
                                            <td colspan="2">
                                                <asp:TextBox ID="CurrentPassword" runat="server" TextMode="Password"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" 
                                                    ControlToValidate="CurrentPassword" ErrorMessage="Password is required." 
                                                    ToolTip="Password is required." ValidationGroup="ChangePassword1">*</asp:RequiredFieldValidator>
                                                <asp:TextBox ID="NewPassword" runat="server" TextMode="Password">New Password</asp:TextBox>
                                                <asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" 
                                                    ControlToValidate="NewPassword" ErrorMessage="New Password is required." 
                                                    ToolTip="New Password is required." ValidationGroup="ChangePassword1">*</asp:RequiredFieldValidator>
                                                <asp:TextBox ID="ConfirmNewPassword" runat="server" TextMode="Password">Confirm New Password</asp:TextBox>
                                                <asp:RequiredFieldValidator ID="ConfirmNewPasswordRequired" runat="server" 
                                                    ControlToValidate="ConfirmNewPassword" 
                                                    ErrorMessage="Confirm New Password is required." 
                                                    ToolTip="Confirm New Password is required." ValidationGroup="ChangePassword1">*</asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2">
                                                <asp:CompareValidator ID="NewPasswordCompare" runat="server" 
                                                    ControlToCompare="NewPassword" ControlToValidate="ConfirmNewPassword" 
                                                    Display="Dynamic" 
                                                    ErrorMessage="The Confirm New Password must match the New Password entry." 
                                                    ValidationGroup="ChangePassword1"></asp:CompareValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2" style="color:Red;">
                                                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                <asp:Button ID="ChangePasswordPushButton" runat="server" 
                                                    CommandName="ChangePassword" Text="Change Password" 
                                                    ValidationGroup="ChangePassword1" Width="143px" />
                                            </td>
                                            <td>
                                                <asp:Button ID="CancelPushButton" runat="server" CausesValidation="False" 
                                                    CommandName="Cancel" Text="Cancel" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ChangePasswordTemplate>
                </asp:ChangePassword>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                <asp:Label ID="Label5" runat="server" Text="Email Address :"></asp:Label>
            </td>
            <td class="style39">
                &nbsp;</td>
            <td class="style33">
                <asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                <asp:Label ID="Label10" runat="server" Text="Date Created :"></asp:Label>
            </td>
            <td class="style39">
                &nbsp;</td>
            <td class="style33">
                &nbsp;<asp:TextBox ID="txtdatecreated" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style39">
                &nbsp;</td>
            <td class="style33">
                <asp:Label ID="lblresult1" runat="server" ForeColor="#FF3300"></asp:Label>
            </td>
            <td>
                <asp:Label ID="lblresult2" runat="server" ForeColor="#FF3300"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style34">
                &nbsp;</td>
            <td class="style33">
                &nbsp;<asp:Button ID="btnSave" runat="server" Text="Save Details" Width="138px" 
                    onclick="btnSave_Click" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style35">
                </td>
            <td class="style36">
                </td>
            <td class="style37">
                </td>
            <td class="style38">
                </td>
        </tr>
    </table>

</asp:Content>
